package com.zhuliwei.domain.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * @author 朱力维
 * @time 2022/10/19 20:49
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CommentVo {
    private String id;
    //文章id
    private String articleId;
    //根评论id
    private String rootId;
    //评论内容
    private String content;
    //所回复的目标评论的userid
    private String toCommentUserId;
    private String toCommentUserName;
    //回复目标评论id
    private String toCommentId;
    private String address;
    //是否本人评论
    private String isMyself;

    private String createBy;

    private Date createTime;

    private String username;

    //头像
    private String avatar;

    //子评论
    List<CommentVo> children;
}
